package com.better.backend.dataComputingService.repository.scoreSelection;

import com.better.backend.dataComputingService.model.scoreSelection.ScoreSelection;
import com.better.common.mongo.repository.CommonRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 分数段管理
 */
@Repository
public interface ScoreSelectionRespository extends CommonRepository<ScoreSelection,String> {
    List<ScoreSelection> findByExamId(String examId);
    List<ScoreSelection> findByExamIdAndGradeId(String examId, String gradeId);

}
